/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package co.edu.uniandes.vehialpes.facades;

import co.edu.uniandes.vehialpes.entity.Diagnostico;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

/**
 *
 * @author Cquiroga
 */
@Stateless
public class DiagnosticoFacade extends AbstractFacade<Diagnostico> implements DiagnosticoFacadeLocal {
    @PersistenceContext(unitName = "VehiAlpesPU")
    private EntityManager em;

    protected EntityManager getEntityManager() {
        return em;
    }

    public DiagnosticoFacade() {
        super(Diagnostico.class);
    }
    
    public void createDiagnostico(Diagnostico diagnostico){
        super.create(diagnostico);
    }
    
}
